﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using TCEasyPrintRev.Models;

namespace TCEasyPrintRev.WCF_member
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IMemberService" in both code and config file together.
    [ServiceContract]
    public interface IMemberService
    {
        [OperationContract]
        bool Authenticate(string password, string email);
        [OperationContract]
        bool register(MemberS member, string kata, string captcha);
        [OperationContract]
        string randomText();
    }

    [DataContract]
    public class MemberS
    {
       
        [DataMember]
            public  String ID { set; get; }
         [DataMember]
        public String Nama { get; set; }
         [DataMember]
            public  String Alamat { get; set; }
         [DataMember]
            public  String noHP { get; set; }
         [DataMember]
            public  String noTelpon { get; set; }
         [DataMember]
            public  String email { get; set; }
         [DataMember]
            public  String password { get; set; }

       
        
    }
}
